<!-- 消息页面的重定向页面 -->
<template>
  <div class="s-5aecdd5e">
    <div class="s-46d9e73c" v-for="i in datas" :key="i.id" @click="skip(i)">
      <span class="s684d2815">
        <img
          alt=""
          title=""
          src="https://image.hongbeibang.com/Fr2noR6eeftUXEWQp5xx3DZjUj16?94X94&amp;imageView2/1/w/50/h/50"
          class="s-34f4f4a1"
          style="background: none; width: 25px; height: 25px"
        />
      </span>
      <div>
        <div class="s45ea2369">
          <img alt="" title="" src="https://image.hongbeibang.com/Ftdx-7eIhi9Q0sftcTq0UVWEuirw?100X100&amp;imageView2/1/w/100/h/100" class="s-34f4f4a1" />
        </div>
        <div class="s8271fa3">
          <div class="s-6ef1d9f4">
            <span style="vertical-align: middle">{{ i.titles }}</span>
          </div>
          <div class="s-5a47e09b">{{ i.analysis }}</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        datas: [
          { id: 0, title: '评论、作业', rightText: '', titles: '评论、作业', analysis: '回复帮友评论能获得更高人气', path: '/remind/comment' },
          { id: 1, title: '点赞、收藏', rightText: '', titles: '点赞、收藏', analysis: '回复帮友评论能获得更高人气', path: '/remind/comment' },
          { id: 2, title: '打赏', rightText: '一键答谢', titles: '打赏', analysis: '回复帮友评论能获得更高人气', path: '/remind/comment' },
          { id: 3, title: '问答消息', rightText: '', titles: '问答', analysis: '回复帮友评论能获得更高人气', path: '/remind/comment' },
          { id: 4, title: '官方消息', rightText: '编辑', titles: '官方消息', analysis: '回复帮友评论能获得更高人气', path: '/remind/comment' },
        ],
      }
    },
    methods: {
      skip(i) {
        this.$parent.ModifyData(i)
        this.$router.push(i.path)
      },
    },
  }
</script>

<style lang="scss" scoped>
  .s-5aecdd5e {
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
    overflow: hidden;
    background-color: #ffffff;
    zoom: 1;
  }
  .s-46d9e73c {
    position: relative;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
  }
  .s684d2815 {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 50%;
    margin-top: -12.5px;
    right: 15px;
    background-color: #ffffff;
  }
  .s-34f4f4a1 {
    width: 100%;
    overflow: hidden;
  }
  .s45ea2369 {
    position: relative;
    float: left;
    width: 50px;
    height: 50px;
    margin: 15px;
    padding: 0;
    font-size: 0;
  }
  .s8271fa3 {
    padding: 15px 0;
    border-bottom: 1px solid;
    border-bottom-color: #e7e2e5;
    overflow: hidden;
  }
  .s-6ef1d9f4 {
    font-weight: bold;
    padding: 0;
    margin: 0;
    line-height: 25px;
    font-size: 18px;
    color: #4a4945;
    margin-right: 40px;
  }
  .s-5a47e09b {
    line-height: 25px;
    font-size: 14px;
    padding: 0;
    margin: 0;
    color: #999999;
    margin-right: 40px;
  }
</style>
